<!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title>minIO搭建</title>
        <style>
</style>
        
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/markdown.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/highlight.css">
<style>
            body {
                font-family: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif;
                font-size: 14px;
                line-height: 1.6;
            }
        </style>
        <style>
.task-list-item { list-style-type: none; } .task-list-item-checkbox { margin-left: -20px; vertical-align: middle; }
</style>
        
        
        
    </head>
    <body class="vscode-light">
        <h1 id="minio搭建">minIO搭建</h1>
<p>到官网下载minIO，开放端口9000</p>
<pre><code class="language-bash"><div>// centos 7
firewall-cmd --permanent --zone=public --add-port=9000/tcp
firewall-cmd --reload
</div></code></pre>
<p>服务端</p>
<pre><code class="language-bash"><div>wget   http://dl.minio.org.cn/server/minio/release/linux-amd64/minio
chmod +x minio
./minio server /mnt/data <span class="hljs-comment"># 启动服务，并打开文件位置</span>
</div></code></pre>
<p>客户端</p>
<pre><code class="language-bash"><div>wget    http://dl.minio.org.cn/client/mc/release/linux-amd64/mc
chmod +x mc
./mc --<span class="hljs-built_in">help</span>
</div></code></pre>

    </body>
    </html>